package edu.sctu.xialei.june.day20150618one;

/**
 * Created by Administrator on 2015/6/18.
 */
public class PolymorphismUtil {

    int num;
    float price;
    String name;

    public PolymorphismUtil() {

    }

    public PolymorphismUtil(int num) {
        this.num = num;
    }

    public PolymorphismUtil(String name) {
        this.price = price;
    }

    public void print(String name) {

        System.out.println(name);
    }

    public void print() {
        System.out.println("夏磊");
    }

    public void print(int num) {
        System.out.println(num);
    }
}
